FROM mysql:5.7

ENV MYSQL_ROOT_PASSWORD=root MYSQL_DATABASE=demo

COPY quartz.sql /docker-entrypoint-initdb.d
COPY ry_20210908.sql /docker-entrypoint-initdb.d
COPY demo.cnf /etc/mysql/mysql.conf.d

VOLUME [ "/var/lib/mysql" ]

EXPOSE 3306
